import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/component/swiper.d.ts',
  content: "/*\n * Copyright (c) 2021-2023 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\n/**\n * Provides methods for switching components.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Provides methods for switching components.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Provides methods for switching components.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class SwiperController {\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Called when the next child component is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the next child component is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when the next child component is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    showNext();\n    /**\n     * Called when the previous subcomponent is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the previous subcomponent is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when the previous subcomponent is displayed.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    showPrevious();\n    /**\n     * Controlling Swiper to change to the specified subcomponent.\n     *\n     * @param { number } index - the index of item to be redirected.\n     * @param { boolean } useAnimation - If true, swipe to index item with animation. If false, swipe to index item without animation.\n     *      The default value is false.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    changeIndex(index: number, useAnimation?: boolean);\n    /**\n     * Controlling Swiper to change to the specified subcomponent.\n     *\n     * @param { number } index - the index of item to be redirected.\n     * @param { SwiperAnimationMode | boolean } [animationMode] - animation mode for changeIndex,\n     * true is equivalent to SwiperAnimationMode.DEFAULT_ANIMATION, false is equivalent to SwiperAnimationMode.NO_ANIMATION\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    changeIndex(index: number, animationMode?: SwiperAnimationMode | boolean);\n    /**\n     * Called when need to stop the swiper animation.\n     *\n     * @param { function } callback\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when need to stop the swiper animation.\n     *\n     * @param { function } callback\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when need to stop the swiper animation.\n     *\n     * @param { function } callback\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Called when need to stop the swiper animation.\n     * Anonymous Object Rectification\n     *\n     * @param { ?VoidCallback } callback\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    finishAnimation(callback?: VoidCallback);\n    /**\n     * Called when need to preload specified child.\n     *\n     * @param { Optional<Array<number>> } indices - Indices of swiper child to be preloaded.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 401 - Parameter invalid. Possible causes:\n     * <br> 1. The parameter type is not Array<number>.\n     * <br> 2. The parameter is an empty array.\n     * <br> 3. The parameter contains an invalid index.\n     * @throws { BusinessError } 100004 - Controller not bound to component.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    preloadItems(indices: Optional<Array<number>>): Promise<void>;\n}\n/**\n * Defines the indicator class.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Defines the indicator class.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class Indicator<T> {\n    /**\n     * Set the indicator to the left.\n     *\n     * @param { Length } value - the indicator to the left.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the position of the navigation indicator relative to the left edge of the Swiper component.\n     *\n     * @param { Length } value - the indicator to the left.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    left(value: Length): T;\n    /**\n     * Set the indicator to the top.\n     *\n     * @param { Length } value - the indicator to the top.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the position of the navigation indicator relative to the top edge of the Swiper component.\n     *\n     * @param { Length } value - the indicator to the top.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    top(value: Length): T;\n    /**\n     * Set the indicator to the right.\n     *\n     * @param { Length } value - the indicator to the right.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the position of the navigation indicator relative to the right edge of the Swiper component.\n     *\n     * @param { Length } value - Position of the navigation indicator relative to the right edge of\n     * the Swiper component.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    right(value: Length): T;\n    /**\n     * Set the indicator to the bottom.\n     *\n     * @param { Length } value - the indicator to the bottom.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the position of the navigation indicator relative to the bottom edge of the Swiper component.\n     *\n     * @param { Length } value - Position of the navigation indicator relative to the bottom edge of\n     * the Swiper component.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    bottom(value: Length): T;\n    /**\n     * Sets the position of the navigation indicator relative to the bottom edge of the Swiper component.\n     * You can also choose to ignore the size of the navigation indicator using the ignoreSize property.\n     *\n     * @param { LengthMetrics | Length } bottom - the offset of indicator to the bottom.\n     * @param { boolean } ignoreSize - ignore the size of the indicator.\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 19\n     */\n    bottom(bottom: LengthMetrics | Length, ignoreSize: boolean): T;\n    /**\n     * Sets the distance between the navigation indicator and the right edge (in right-to-left scripts)\n     * or the left edge (in left-to-right scripts) of the Swiper component.\n     *\n     * @param { LengthMetrics } value - the indicator to the right in LTR, indicator to the left in RTL\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    start(value: LengthMetrics): T;\n    /**\n     * Sets the distance between the navigation indicator and the left edge (in right-to-left scripts)\n     * or the right edge (in left-to-right scripts) of the Swiper component.\n     *\n     * @param { LengthMetrics } value - the indicator to the left in RTL, Set the indicator to the right in LTR\n     * @returns { T }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 12\n     */\n    end(value: LengthMetrics): T;\n    /**\n     * DotIndicator class object.\n     *\n     * @returns { DotIndicator }\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * DotIndicator class object.\n     *\n     * @returns { DotIndicator }\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    static dot(): DotIndicator;\n    /**\n     * DigitIndicator class object.\n     *\n     * @returns { DigitIndicator }\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * DigitIndicator class object.\n     *\n     * @returns { DigitIndicator }\n     * @static\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    static digit(): DigitIndicator;\n}\n/**\n * Define DotIndicator, the indicator type is dot.\n *\n * @extends Indicator<DotIndicator>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Define DotIndicator, the indicator type is dot.\n *\n * @extends Indicator<DotIndicator>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class DotIndicator extends Indicator<DotIndicator> {\n    /**\n     * Constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Set the indicator item width.\n     *\n     * @param { Length } value - the indicator item width.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the width of the dot-style navigation indicator.\n     *\n     * @param { Length } value - Width of the dot-style navigation indicator. Default value is 6vp.\n     * This parameter cannot be set in percentage.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    itemWidth(value: Length): DotIndicator;\n    /**\n     * Set the indicator item height.\n     *\n     * @param { Length } value - the indicator item height.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the height of the dot-style navigation indicator.\n     *\n     * @param { Length } value - Height of the dot-style navigation indicator. Default value is 6vp.\n     * This parameter cannot be set in percentage.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    itemHeight(value: Length): DotIndicator;\n    /**\n     * Set the indicator item width when selected.\n     *\n     * @param { Length } value - the indicator item width when selected.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the width of the selected dot in the dot-style navigation indicator.\n     *\n     * @param { Length } value - Width of the selected dot in the dot-style navigation indicator.\n     * Default value is 12vp. This parameter cannot be set in percentage.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    selectedItemWidth(value: Length): DotIndicator;\n    /**\n     * Set the indicator item height when selected.\n     *\n     * @param { Length } value - the indicator item height when selected.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the height of the selected dot in the dot-style navigation indicator.\n     *\n     * @param { Length } value - Height of the selected dot in the dot-style navigation indicator.\n     * Default value is 6vp. This parameter cannot be set in percentage.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    selectedItemHeight(value: Length): DotIndicator;\n    /**\n     * Setting indicator style mask.\n     *\n     * @param { boolean } value - the indicator item mask.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets whether to enable the mask for the dot-style navigation indicator.\n     *\n     * @param { boolean } value - Whether to enable the mask for the dot-style navigation indicator.\n     * Default value is false.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    mask(value: boolean): DotIndicator;\n    /**\n     * Set the indicator color.\n     *\n     * @param { ResourceColor } value - the indicator item color.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the color of the dot-style navigation indicator.\n     *\n     * @param { ResourceColor } value - Color of the dot-style navigation indicator.\n     * Default value is #182431(10% opacity).\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    color(value: ResourceColor): DotIndicator;\n    /**\n     * Set the navigation point color.\n     *\n     * @param { ResourceColor } value - the indicator item when selected.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the color of the selected dot in the dot-style navigation indicator.\n     *\n     * @param { ResourceColor } value - Color of the selected dot in the dot-style navigation indicator.\n     * Default value is #007DFF.\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    selectedColor(value: ResourceColor): DotIndicator;\n    /**\n     * Sets the maximum number of navigation dots in the dot-style navigation indicator.\n     *\n     * @param { number } maxDisplayCount - Maximum number of navigation dots in the dot-style navigation indicator.\n     * @returns { DotIndicator } return the DotIndicator\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    maxDisplayCount(maxDisplayCount: number): DotIndicator;\n    /**\n     * Set the space between dots.\n     *\n     * @param { LengthMetrics } space - the space between dots\n     * @returns { DotIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 19\n     */\n    space(space: LengthMetrics): DotIndicator;\n}\n/**\n * Set Swiper column count adaptation.\n *\n * @typedef { object } SwiperAutoFill\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @form\n * @since 10\n */\n/**\n * Set Swiper column count adaptation.\n *\n * @typedef { object } SwiperAutoFill\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @form\n * @atomicservice\n * @since 11\n */\n/**\n * Set Swiper column count adaptation.\n *\n * @typedef SwiperAutoFill\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @form\n * @atomicservice\n * @since 18\n */\ndeclare interface SwiperAutoFill {\n    /**\n     * Set minSize size.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     * @form\n     */\n    /**\n     * Set minSize size.\n     *\n     * @type { VP }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     * @form\n     */\n    minSize: VP;\n}\n/**\n * Define DigitIndicator, the indicator type is digit.\n *\n * @extends Indicator<DigitIndicator>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Define DigitIndicator, the indicator type is digit.\n *\n * @extends Indicator<DigitIndicator>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class DigitIndicator extends Indicator<DigitIndicator> {\n    /**\n     * Constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Constructor.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    constructor();\n    /**\n     * Set font color of the digital indicator.\n     *\n     * @param { ResourceColor } value - the indicator font color.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the font color of the digit-style navigation indicator.\n     *\n     * @param { ResourceColor } value - Font color of the digit-style navigation indicator. Default value is #ff182431.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    fontColor(value: ResourceColor): DigitIndicator;\n    /**\n     * Set font color of the digital indicator when selected.\n     *\n     * @param { ResourceColor } value - the indicator font color when selected.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the font color of the selected digit in the digit-style navigation indicator.\n     *\n     * @param { ResourceColor } value - Font color of the selected digit in the digit-style navigation indicator.\n     * Default value is #ff182431.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    selectedFontColor(value: ResourceColor): DigitIndicator;\n    /**\n     * Set the digital indicator font (just support font size and weight).\n     *\n     * @param { Font } value - the indicator font size and weight.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the font style of the digit-style navigation indicator.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Only the size and weight parameters in Font are adjustable.\n     * <brSetting family and style has no effect.\n     * </p>\n     *\n     * @param { Font } value - Font style of the digit-style navigation indicator.\n     * Default value is { size: 14, weight: FontWeight.Normal }.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    digitFont(value: Font): DigitIndicator;\n    /**\n     * Set the digital indicator font (just support font size and weight).\n     *\n     * @param { Font } value - the indicator font size and weight when selected.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the font style of the selected digit in the digit-style navigation indicator.\n     *\n     * @param { Font } value - Font style of the selected digit in the digit-style navigation indicator.\n     * Default value is { size: 14, weight: FontWeight.Normal }.\n     * @returns { DigitIndicator }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    selectedDigitFont(value: Font): DigitIndicator;\n}\n/**\n * Arrow object.\n *\n * @interface ArrowStyle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 10\n */\n/**\n * Arrow object.\n *\n * @interface ArrowStyle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface ArrowStyle {\n    /**\n     * Is show the arrow background or not.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Is show the arrow background or not.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    showBackground?: boolean;\n    /**\n     * When the indicator show, set the arrow position is side of the indicator or in the middle of content area.\n     * The arrow is displayed on side of the indicator, if the value is false.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * When the indicator show, set the arrow position is side of the indicator or in the middle of content area.\n     * The arrow is displayed on side of the indicator, if the value is false.\n     *\n     * @type { ?boolean }\n     * @default false\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    isSidebarMiddle?: boolean;\n    /**\n     * The arrow background size.\n     * The size of the arrow is three-quarters of the background size, when the background is displayed.\n     *\n     * @type { ?Length }\n     * @default When isSidebarMiddle is false, the default value is 24vp, Otherwise,the default value is 32vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The arrow background size.\n     * The size of the arrow is three-quarters of the background size, when the background is displayed.\n     *\n     * @type { ?Length }\n     * @default When isSidebarMiddle is false, the default value is 24vp, Otherwise,the default value is 32vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundSize?: Length;\n    /**\n     * The arrow background background color.\n     *\n     * @type { ?ResourceColor }\n     * @default When isSidebarMiddle is false, the default value is #00000000, Otherwise,the default value is #19182431\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The arrow background background color.\n     *\n     * @type { ?ResourceColor }\n     * @default When isSidebarMiddle is false, the default value is #00000000, Otherwise, the default value is #19182431\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    backgroundColor?: ResourceColor;\n    /**\n     * The arrow size.\n     * The arrow size can be set, when the background is not displayed.\n     * The size of the arrow is three-quarters of the background size, when the background is displayed.\n     *\n     * @type { ?Length }\n     * @default When isSidebarMiddle is false, the default value is 18vp, Otherwise, the default value is 24vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The arrow size.\n     * The arrow size can be set, when the background is not displayed.\n     * The size of the arrow is three-quarters of the background size, when the background is displayed.\n     *\n     * @type { ?Length }\n     * @default When isSidebarMiddle is false, the default value is 18vp, Otherwise, the default value is 24vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    arrowSize?: Length;\n    /**\n     * The arrow color.\n     *\n     * @type { ?ResourceColor }\n     * @default #182431\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The arrow color.\n     *\n     * @type { ?ResourceColor }\n     * @default #182431\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    arrowColor?: ResourceColor;\n}\n/**\n * Declare the size of the swiper on the spindle.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Declare the size of the swiper on the spindle.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Declare the size of the swiper on the spindle.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare enum SwiperDisplayMode {\n    /**\n     * Carousel map extension.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 7\n     * @deprecated since 10\n     * @useinstead SwiperDisplayMode#STRETCH\n     */\n    Stretch,\n    /**\n     * The rotation chart is self linear.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @form\n     * @since 7\n     * @deprecated since 10\n     * @useinstead SwiperDisplayMode#AUTO_LINEAR\n     */\n    AutoLinear,\n    /**\n     * Carousel map extension.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Carousel map extension.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    STRETCH,\n    /**\n     * The rotation chart is self linear.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * The rotation chart is self linear.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     * @deprecated since 12\n     * @useinstead Scroller#scrollTo\n     */\n    AUTO_LINEAR\n}\n/**\n * Provides an interface for sliding containers.\n *\n * @interface SwiperInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Provides an interface for sliding containers.\n *\n * @interface SwiperInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Provides an interface for sliding containers.\n *\n * @interface SwiperInterface\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ninterface SwiperInterface {\n    /**\n     * Called when a sliding container is set.\n     *\n     * @param { SwiperController } controller\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when a sliding container is set.\n     *\n     * @param { SwiperController } controller\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when a sliding container is set.\n     *\n     * @param { SwiperController } controller\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    (controller?: SwiperController): SwiperAttribute;\n}\n/**\n * Setting indicator style navigation.\n *\n * @interface IndicatorStyle\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 8\n * @deprecated since 10\n */\ndeclare interface IndicatorStyle {\n    /**\n     * Set the indicator to the left.\n     *\n     * @type { ?Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    left?: Length;\n    /**\n     * Set the indicator to the top.\n     *\n     * @type { ?Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    top?: Length;\n    /**\n     * Set the indicator to the right.\n     *\n     * @type { ?Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    right?: Length;\n    /**\n     * Set the indicator to the bottom.\n     *\n     * @type { ?Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    bottom?: Length;\n    /**\n     * Set the indicator size.\n     *\n     * @type { ?Length }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    size?: Length;\n    /**\n     * Setting indicator style mask.\n     *\n     * @type { ?boolean }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    mask?: boolean;\n    /**\n     * Set the indicator color.\n     *\n     * @type { ?ResourceColor }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    color?: ResourceColor;\n    /**\n     * Set the navigation point color.\n     *\n     * @type { ?ResourceColor }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    selectedColor?: ResourceColor;\n}\n/**\n * Provides an interface for swiper animation.\n *\n * @interface SwiperAnimationEvent\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @since 10\n */\n/**\n * Provides an interface for swiper animation.\n *\n * @interface SwiperAnimationEvent\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare interface SwiperAnimationEvent {\n    /**\n     * Offset of the current page to the start position of the swiper main axis. The unit is vp.\n     *\n     * @type { number }\n     * @default 0.0 vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Offset of the current page to the start position of the swiper main axis. The unit is vp.\n     *\n     * @type { number }\n     * @default 0.0 vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    currentOffset: number;\n    /**\n     * Offset of the target page to the start position of the swiper main axis. The unit is vp.\n     *\n     * @type { number }\n     * @default 0.0 vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Offset of the target page to the start position of the swiper main axis. The unit is vp.\n     *\n     * @type { number }\n     * @default 0.0 vp\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    targetOffset: number;\n    /**\n     * Start speed of the page-turning animation. The unit is vp/s.\n     *\n     * @type { number }\n     * @default 0.0 vp/s\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Start speed of the page-turning animation. The unit is vp/s.\n     *\n     * @type { number }\n     * @default 0.0 vp/s\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    velocity: number;\n}\n/**\n * Defines the properties for controlling the autoplay behavior.\n *\n * @interface AutoPlayOptions\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 18\n */\ndeclare interface AutoPlayOptions {\n    /**\n     * Whether the autoplay stops immediately when the component is touched.\n     *\n     * @type { boolean }\n     * @default true\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    stopWhenTouched: boolean;\n}\n/**\n * Swiper nested scroll nested mode\n\n * @enum { number } SwiperNestedScrollMode\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @atomicservice\n * @since 11\n */\ndeclare enum SwiperNestedScrollMode {\n    /**\n     * The scrolling is contained within the Swiper component, and no scroll chaining occurs, that is,\n     * the parent container does not scroll when the component scrolling reaches the boundary.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    SELF_ONLY = 0,\n    /**\n     * The Swiper component scrolls first, and when it hits the boundary, the parent container scrolls.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @atomicservice\n     * @since 11\n     */\n    SELF_FIRST = 1\n}\n/**\n * Declare the animation mode of SwiperController's changeIndex method.\n *\n * @enum { number }\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 15\n */\ndeclare enum SwiperAnimationMode {\n    /**\n     * Jump to target index without animation.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    NO_ANIMATION = 0,\n    /**\n     * Scroll to target index with animation.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    DEFAULT_ANIMATION = 1,\n    /**\n     * Jump to some index near the target index without animation,\n     * then scroll to target index with animation.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    FAST_ANIMATION = 2\n}\n/**\n * Defines a swiper callback when onAnimationStart.\n *\n * @typedef { function } OnSwiperAnimationStartCallback\n * @param { number } index - The index value of the swiper page that when animation start.\n * @param { number } targetIndex - The target index value of the swiper page that when animation start.\n * @param { SwiperAnimationEvent } extraInfo - The extra callback info.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 18\n */\ndeclare type OnSwiperAnimationStartCallback = (index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void;\n/**\n * Defines a swiper callback when onAnimationEnd.\n *\n * @typedef { function } OnSwiperAnimationEndCallback\n * @param { number } index - The index value of the swiper page that when animation end.\n * @param { SwiperAnimationEvent } extraInfo - The extra callback info.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 18\n */\ndeclare type OnSwiperAnimationEndCallback = (index: number, extraInfo: SwiperAnimationEvent) => void;\n/**\n * Defines a swiper callback when onGestureSwipe.\n *\n * @typedef { function } OnSwiperGestureSwipeCallback\n * @param { number } index - The index value of the swiper page before gesture swipe.\n * @param { SwiperAnimationEvent } extraInfo - The extra callback info.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare type OnSwiperGestureSwipeCallback = (index: number, extraInfo: SwiperAnimationEvent) => void;\n/**\n * Defines the swiper attribute functions.\n *\n * @extends CommonMethod<SwiperAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines the swiper attribute functions.\n *\n * @extends CommonMethod<SwiperAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Defines the swiper attribute functions.\n *\n * @extends CommonMethod<SwiperAttribute>\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare class SwiperAttribute extends CommonMethod<SwiperAttribute> {\n    /**\n     * Called when the index value of the displayed subcomponent is set in the container.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the index value of the displayed subcomponent is set in the container.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the index of the child component currently displayed in the container.\n     *\n     * @param { number } value - Index of the child component currently displayed in the container. Default value is 0.\n     * If the value is less than 0 or greater than or equal to the number of child components,\n     * the default value 0 is used.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    index(value: number): SwiperAttribute;\n    /**\n     * Called when setting whether the subcomponent plays automatically.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when setting whether the subcomponent plays automatically.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets whether to enable automatic playback for child component switching.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If loop is set to false, the playback stops when the last page is reached.\n     * <br>The playback continues when the page is not the last page after a swipe gesture.\n     * <br>If the Swiper component becomes invisible, the playback stops.\n     * </p>\n     *\n     * @param { boolean } value - Whether to enable automatic playback for child component switching.\n     * Default value is false.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    autoPlay(value: boolean): SwiperAttribute;\n    /**\n     * Sets whether child components automatically play when the screen is pressed by fingers, a mouse device,\n     * or other input devices.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If loop is set to false, the playback stops when the last page is reached.\n     * <br>The playback continues when the page is not the last page after a swipe gesture.\n     * <br>If the Swiper component becomes invisible, the playback stops.\n     * </p>\n     *\n     * @param { boolean } autoPlay - Whether to enable automatic playback for child component switching.\n     * Default value is false.\n     * @param { AutoPlayOptions } options - Whether child components stop autoplay when the screen is pressed by fingers,\n     * a mouse device, or other input devices. Default value is { stopWhenTouched: true }.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    autoPlay(autoPlay: boolean, options: AutoPlayOptions): SwiperAttribute;\n    /**\n     * Called when the time interval for automatic playback is set.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the time interval for automatic playback is set.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the interval for automatic playback.\n     *\n     * @param { number } value - Interval for automatic playback. Default value is 3000, the unit is ms.\n     * Minimum value is 0ms. If a value less than 0 is set, the default value is used.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    interval(value: number): SwiperAttribute;\n    /**\n     * Called when you set whether the navigation point indicator is enabled.\n     *\n     * @param { boolean } value - show indicator of the swiper indicator.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Set indicator is enabled, or set type style.\n     *\n     * @param { DotIndicator | DigitIndicator | boolean } value - the style value or show indicator of the swiper indicator.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the style of the navigation indicator.\n     *\n     * @param { DotIndicator | DigitIndicator | boolean } value - Style of the navigation indicator.\n     * Default value is true, default style is DotIndicator.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    indicator(value: DotIndicator | DigitIndicator | boolean): SwiperAttribute;\n    /**\n     * Sets the navigation indicator for the component.\n     *\n     * @param { IndicatorComponentController | DotIndicator | DigitIndicator | boolean } indicator -\n     * Style of the navigation indicator. Default value is true, default style is DotIndicator.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    indicator(indicator: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): SwiperAttribute;\n    /**\n     * Set arrow is enabled, or set the arrow style.\n     *\n     * @param { ArrowStyle | boolean } value - arrow is displayed or set the arrow style.\n     * @param { boolean } isHoverShow - arrow is display when mouse hover in indicator hotspot.\n     * @returns { SwiperAttribute } return the component attribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * Sets the arrow style of the navigation indicator.\n     *\n     * @param { ArrowStyle | boolean } value - arrow is displayed or set the arrow style. Default value is false.\n     * @param { boolean } isHoverShow - Whether to show the arrow only when the mouse pointer hovers\n     * over the navigation indicator. Default value is false.\n     * @returns { SwiperAttribute } return the component attribute.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): SwiperAttribute;\n    /**\n     * Called when setting whether to turn on cyclic sliding.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when setting whether to turn on cyclic sliding.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets whether to enable loop playback.\n     *\n     * @param { boolean } value - Whether to enable loop playback. Default value is true.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    loop(value: boolean): SwiperAttribute;\n    /**\n     * Called when the animation duration of the switch is set.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the animation duration of the switch is set.\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Sets the duration of the animation for child component switching.\n     *\n     * @param { number } value - Duration of the autoplay for child component switching. Default value is 400,\n     * the unit is ms. Minimum value is 0ms. If a value less than 0 is set, the default value is used.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    duration(value: number): SwiperAttribute;\n    /**\n     * Called when setting whether to slide vertically.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when setting whether to slide vertically.\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets whether vertical swiping is used.\n     *\n     * @param { boolean } value - Whether vertical swiping is used. Default value is false.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    vertical(value: boolean): SwiperAttribute;\n    /**\n     * Sets the space between child components.\n     *\n     * @param { number | string } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Sets the space between child components.\n     *\n     * @param { number | string } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the space between child components.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>If the type is number, the default unit is vp.\n     * <br>If the type is string, the pixel unit must be explicitly specified, for example, '10px';\n     * if the unit is not specified, for example, '10', the default unit vp is used.\n     * </p>\n     *\n     * @param { number | string } value - Space between child components. Default value is 0,\n     * Minimum value is 0. If a value less than 0 is set, the default value is used.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    itemSpace(value: number | string): SwiperAttribute;\n    /**\n     * Called when setting the size of the swiper container on the spindle.\n     *\n     * @param { SwiperDisplayMode } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when setting the size of the swiper container on the spindle.\n     *\n     * @param { SwiperDisplayMode } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the mode in which elements are displayed along the main axis.\n     * This API takes effect only when displayCount is not set.\n     *\n     * @param { SwiperDisplayMode } value - Mode in which elements are displayed along the main axis.\n     * Default value is SwiperDisplayMode.STRETCH.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    displayMode(value: SwiperDisplayMode): SwiperAttribute;\n    /**\n     * Sets the number of child components to be preloaded(cached).\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets the number of child components to be preloaded(cached).\n     *\n     * @param { number } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the number of child components to be preloaded(cached).\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>Which are needed for the specific number of pages immediately before and after the current page.\n     * <br>If swipeByGroup in displayCount is set to true, child components are cached by group.\n     * </p>\n     *\n     * @param { number } value - Number of child components to be preloaded (cached). Default value is 1.\n     * Minimum value is 0. If a value less than 0 is set, the default value is used.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    cachedCount(value: number): SwiperAttribute;\n    /**\n     * Sets the number of child components to be preloaded(cached).\n     *\n     * @param { number } count - Number of child components to be preloaded (cached).Default value is 1.\n     * Minimum value is 0. If a value less than 0 is set, the default value is used.\n     * @param { boolean } isShown - Whether the cached nodes within the range rendered\n     * without being added to the render tree. Default value is false.\n     * @returns { SwiperAttribute } the attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    cachedCount(count: number, isShown: boolean): SwiperAttribute;\n    /**\n     * Sets the number of elements to display per page.\n     *\n     * @param { number | string } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets the number of elements to display per page.\n     *\n     * @param { number | string | SwiperAutoFill } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the number of elements to display per page.\n     *\n     * If swipeByGroup is set to true:\n     * 1、All sub-items are grouped from index 0.\n     * 2、The number of sub-items in each group is the value of displayCount.\n     * 3、If the number of sub-items in the last group is less than displayCount, placeholder items are added to supplement the number of last group.\n     * 4、Placeholder items do not display any content and are only used as placeholders.\n     * 5、When turning pages, turn pages by group.\n     *\n     * @param { number | string | SwiperAutoFill } value - Number of elements to display per page. Default value is 1.\n     * @param { boolean } [swipeByGroup] - Whether to turn pages by group. Default value is false.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): SwiperAttribute;\n    /**\n     * Invoked when setting the sliding effect\n     *\n     * @param { EdgeEffect } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Invoked when setting the sliding effect\n     *\n     * @param { EdgeEffect } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the effect used when the component is at one of the edges.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute takes effect when loop is set to false.\n     * </p>\n     *\n     * @param { EdgeEffect } value - Effect used when the component is at one of the edges.\n     * Default value is EdgeEffect.Spring.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    effectMode(value: EdgeEffect): SwiperAttribute;\n    /**\n     * Sets whether to disable the swipe feature\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets whether to disable the swipe feature\n     *\n     * @param { boolean } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets whether to disable the swipe feature.\n     *\n     * @param { boolean } value - Whether to disable the swipe feature. Default value is false.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    disableSwipe(value: boolean): SwiperAttribute;\n    /**\n     * Sets the animation curve\n     *\n     * @param { Curve | string } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     */\n    /**\n     * Sets the animation curve\n     * Curve is an enumeration type for common curves\n     * ICurve is a curve object\n     *\n     * @param { Curve | string | ICurve } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Sets the animation curve.\n     * Curve is an enumeration type for common curves\n     * ICurve is a curve object\n     *\n     * @param { Curve | string | ICurve } value - Animation curve.\n     * Default value is interpolatingSpring(-1, 1, 328, 34).\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    curve(value: Curve | string | ICurve): SwiperAttribute;\n    /**\n     * Called when the index value changes.\n     *\n     * @param { function } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 7\n     */\n    /**\n     * Called when the index value changes.\n     *\n     * @param { function } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when the index value changes.\n     *\n     * @param { function } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Triggered when the index of the currently displayed child component changes.\n     * Anonymous Object Rectification\n     *\n     * @param { Callback<number> } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    onChange(event: Callback<number>): SwiperAttribute;\n    /**\n     * Called when a new index becomes selected. Animation is not necessarily complete.\n     *\n     * @param { Callback<number> } event - callback to notify which index has been selected\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    onSelected(event: Callback<number>): SwiperAttribute;\n    /**\n     * Setting indicator style navigation.\n     *\n     * @param { IndicatorStyle } value\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 8\n     * @deprecated since 10\n     */\n    indicatorStyle(value?: IndicatorStyle): SwiperAttribute;\n    /**\n     * The previous margin which can be used to expose a small portion of the previous item.\n     *\n     * @param { Length } value - The length of previous margin.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The previous margin which can be used to expose a small portion of the previous item.\n     *\n     * @param { Length } value - The length of previous margin.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Sets the previous margin, used to reveal a small part of the previous item.\n     * When the previous item is empty, do not display blank space.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is effective only when the layout mode of the child components in Swiper is set to stretch,\n     * which mainly includes two scenarios: 1. displayMode is set to SwiperDisplayMode.STRETCH;\n     * 2. displayCount is assigned a numeric value.\n     * <br>When the main axis runs horizontally and either the next margin or previous margin is greater than\n     * the measured width of the child component, neither the next margin nor previous margin is displayed.\n     * <br>When the main axis runs vertically and either the next margin or previous margin is greater than\n     * the measured height of the child component, neither the next margin nor previous margin is displayed.\n     * </p>\n     *\n     * @param { Length } value - The length of previous margin.This attribute cannot be set in percentage.\n     * Default value is 0.\n     * @param { boolean } [ignoreBlank] - Whether to hide(ignore) the previous margin on the first page in non-loop scenarios.\n     * Default value is false.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    prevMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute;\n    /**\n     * The next margin which can be used to expose a small portion of the latter item.\n     *\n     * @param { Length } value - The length of next margin.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 10\n     */\n    /**\n     * The next margin which can be used to expose a small portion of the latter item.\n     *\n     * @param { Length } value - The length of next margin.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Sets the next margin, used to reveal a small part of the next item.\n     * When the next item is empty, do not display blank space.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>This attribute is effective only when the layout mode of the child components in Swiper is set to stretch,\n     * which mainly includes two scenarios: 1. displayMode is set to SwiperDisplayMode.STRETCH;\n     * 2. displayCount is assigned a numeric value.\n     * <br>When the main axis runs horizontally and either the next margin or previous margin is greater than\n     * the measured width of the child component, neither the next margin nor previous margin is displayed.\n     * <br>When the main axis runs vertically and either the next margin or previous margin is greater than\n     * the measured height of the child component, neither the next margin nor previous margin is displayed.\n     * </p>\n     *\n     * @param { Length } value - The length of next margin. This attribute cannot be set in percentage.\n     * Default value is 0.\n     * @param { boolean } [ignoreBlank] - Whether to hide(ignore) the next margin on the last page in non-loop scenarios.\n     * Default value is false.\n     * @returns { SwiperAttribute } The attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    nextMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute;\n    /**\n     * Called when a new index becomes unselected. Animation is not necessarily complete.\n     *\n     * @param { Callback<number> } event - callback to notify which index has been unselected\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    onUnselected(event: Callback<number>): SwiperAttribute;\n    /**\n     * Called when the swiper animation start.\n     *\n     * @param { function } event - the index value of the swiper page that when animation start.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the swiper animation start.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page that when animation start.\n     * \"targetIndex\": the target index value of the swiper page that when animation start.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when the swiper animation start.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page that when animation start.\n     * \"targetIndex\": the target index value of the swiper page that when animation start.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Triggered when the switching animation starts.\n     * Anonymous Object Rectification\n     *\n     * @param { OnSwiperAnimationStartCallback } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    onAnimationStart(event: OnSwiperAnimationStartCallback): SwiperAttribute;\n    /**\n     * Called when the swiper animation end.\n     *\n     * @param { function } event - the index value of the swiper page that when animation end.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @since 9\n     */\n    /**\n     * Called when the swiper animation end.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page that when animation end.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @since 10\n     */\n    /**\n     * Called when the swiper animation end.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page that when animation end.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Triggered when the switching animation ends.\n     * Anonymous Object Rectification\n     *\n     * @param { OnSwiperAnimationEndCallback } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 18\n     */\n    onAnimationEnd(event: OnSwiperAnimationEndCallback): SwiperAttribute;\n    /**\n     * Called when the swiper swipe with the gesture.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page before gesture swipe.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Called when the swiper swipe with the gesture.\n     *\n     * @param { function } event\n     * \"index\": the index value of the swiper page before gesture swipe.\n     * \"extraInfo\": the extra callback info.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    /**\n     * Triggered on a frame-by-frame basis when the page is turned by a swipe.\n     * Anonymous Object Rectification\n     *\n     * @param { OnSwiperGestureSwipeCallback } event\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 18\n     */\n    onGestureSwipe(event: OnSwiperGestureSwipeCallback): SwiperAttribute;\n    /**\n     * Sets the nested scrolling mode of the Swiper component and its parent container.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>When loop is set to true, the Swiper component has no edge effect and does not trigger\n     * nested scrolling of its parent container.\n     * </p>\n     *\n     *\n     * @param { SwiperNestedScrollMode } value - mode for nested scrolling.\n     * Default value is SwiperNestedScrollMode.SELF_ONLY.\n     * @returns { SwiperAttribute } the attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    nestedScroll(value: SwiperNestedScrollMode): SwiperAttribute;\n    /**\n     * Defines a custom switching animation.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>1. This API does not work when prevMargin and nextMargin are set in such a way that\n     * the Swiper frontend and backend display the same page during loop playback.\n     * <br>2. During page scrolling, the ContentDidScrollCallback callback is invoked for all pages in the viewport\n     * on a frame-by-frame basis.\n     * <br>3. When the swipeByGroup parameter of the displayCount attribute is set to true,\n     * the callback is invoked for all pages in a group if any page in the group is within the viewport.\n     * </p>\n     *\n     * @param { SwiperContentAnimatedTransition } transition - custom content transition animation.\n     * @returns { SwiperAttribute } the attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    customContentTransition(transition: SwiperContentAnimatedTransition): SwiperAttribute;\n    /**\n     * Triggered when content in the Swiper component scrolls.\n     *\n     * <p><strong>NOTE</strong>:\n     * <br>1. This API does not work when prevMargin and nextMargin are set in such a way that\n     * the Swiper frontend and backend display the same page during loop playback.\n     * <br>2. During page scrolling, the ContentDidScrollCallback callback is invoked for all pages in the viewport\n     * on a frame-by-frame basis.\n     * <br>3. When the swipeByGroup parameter of the displayCount** attribute is set to true,\n     * the callback is invoked for all pages in a group if any page in the group is within the viewport.\n     * </p>\n     *\n     * @param { ContentDidScrollCallback } handler - callback of scroll,\n     * selectedIndex is the index value of the swiper content selected before animation start.\n     * index is the index value of the swiper content.\n     * position is the moving ratio of the swiper content from the start position of the swiper main axis.\n     * mainAxisLength is the swiper main axis length for calculating position.\n     * @returns { SwiperAttribute } the attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    onContentDidScroll(handler: ContentDidScrollCallback): SwiperAttribute;\n    /**\n     * Sets whether the navigation indicator is interactive.\n     *\n     * @param { boolean } value - Whether the navigation indicator is interactive. Default value is true.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    indicatorInteractive(value: boolean): SwiperAttribute;\n    /**\n     * Setting page flip mode on mouse wheel event.\n     *\n     * @param { Optional<PageFlipMode> } mode - page flip mode on mouse wheel event. The default value is PageFlipMode.CONTINUOUS.\n     * @returns { SwiperAttribute }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    pageFlipMode(mode: Optional<PageFlipMode>): SwiperAttribute;\n    /**\n     * Called when the swiper content will scroll.\n     *\n     * @param { ContentWillScrollCallback } handler - callback of will scroll.\n     * @returns { SwiperAttribute } the attribute of the swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    onContentWillScroll(handler: ContentWillScrollCallback): SwiperAttribute;\n    /**\n     * Set maintain visible content position.\n     *\n     * @param { boolean } enabled - maintain visible content position.\n     * Default value is false.\n     * @returns { SwiperAttribute } the attribute of swiper.\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 20\n     */\n    maintainVisibleContentPosition(enabled: boolean): SwiperAttribute;\n}\n/**\n * Defines the swiper content animated transition options.\n *\n * @interface SwiperContentAnimatedTransition\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface SwiperContentAnimatedTransition {\n    /**\n     * Defines the timeout of custom content transition animation after the page is moved out of the swiper. The unit is ms.\n     * If SwiperContentTransitionProxy.finishTransition() is not invoked, use the timeout as animation end time.\n     *\n     * @type { ?number }\n     * @default 0 ms\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    timeout?: number;\n    /**\n     * Called when custom content transition animation start.\n     *\n     * @type { Callback<SwiperContentTransitionProxy> }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    transition: Callback<SwiperContentTransitionProxy>;\n}\n/**\n * The proxy of SwiperContentAnimatedTransition.\n *\n * @interface SwiperContentTransitionProxy\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare interface SwiperContentTransitionProxy {\n    /**\n     * the index value of the swiper content selected before animation start.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    selectedIndex: number;\n    /**\n     * The index value of the swiper content.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    index: number;\n    /**\n     * the moving ratio of the swiper content from the start position of the swiper main axis.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    position: number;\n    /**\n     * the swiper main axis length for calculating position.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    mainAxisLength: number;\n    /**\n     * Notifies Swiper page the custom content transition animation is complete.\n     *\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    finishTransition(): void;\n}\n/**\n * The result of swiper ContentWillScrollCallback.\n *\n * @interface SwiperContentWillScrollResult\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 15\n */\ndeclare interface SwiperContentWillScrollResult {\n    /**\n     * the index value of the current child page.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    currentIndex: number;\n    /**\n     * the index value of the child page that will display.\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    comingIndex: number;\n    /**\n     * the sliding offset of each frame. Positive numbers indicating slide backward(e.g. from index=1 to index=0),\n     * negative numbers indicating slide forward(e.g. from index=0 to index=1).\n     *\n     * @type { number }\n     * @syscap SystemCapability.ArkUI.ArkUI.Full\n     * @crossplatform\n     * @form\n     * @atomicservice\n     * @since 15\n     */\n    offset: number;\n}\n/**\n * The callback of onContentDidScroll.\n *\n * @typedef { function } ContentDidScrollCallback\n * @param { number } selectedIndex - the index value of the swiper content selected before animation start.\n * @param { number } index - the index value of the swiper content.\n * @param { number } position - the moving ratio of the swiper content from the start position of the swiper main axis.\n * @param { number } mainAxisLength - the swiper main axis length for calculating position.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @atomicservice\n * @since 12\n */\ndeclare type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void;\n/**\n * The callback of onContentWillScroll.\n *\n * @typedef { function } ContentWillScrollCallback\n * @param { SwiperContentWillScrollResult } result - the result of swiper ContentWillScrollCallback.\n * @returns { boolean } whether to allow scroll, true indicating can scroll and false indicating can not scroll.\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 15\n */\ndeclare type ContentWillScrollCallback = (result: SwiperContentWillScrollResult) => boolean;\n/**\n * Defines Swiper Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines Swiper Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Defines Swiper Component.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare const Swiper: SwiperInterface;\n/**\n * Defines Swiper Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @since 7\n */\n/**\n * Defines Swiper Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @since 10\n */\n/**\n * Defines Swiper Component instance.\n *\n * @syscap SystemCapability.ArkUI.ArkUI.Full\n * @crossplatform\n * @form\n * @atomicservice\n * @since 11\n */\ndeclare const SwiperInstance: SwiperAttribute;\n",
}
export default FILE;